﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Admin
{
    public enum MailCatelog
    {
        文档上传 = 100,
        项目问题提问 = 200,
        项目问题解答 = 300,
        项目状态变更 = 400,
        申请查看项目 = 500,
        申请查看项目通过 = 600,
        申请查看项目驳回 = 700,
        新增项目通知 = 800,
        询盘评估提醒 = 900,
        询盘评估完成提醒 = 910,
        询盘任务下达提醒 = 920,
        项目任务更新通知 = 1000,
        项目任务完成通知 = 1100,
        项目任务到期未归档通知 = 1150,
        项目计划开始通知 = 1200,
        项目阶段计划完成提醒 = 1250,
        项目计划到期未完成通知 = 1300,
        项目周报完成情况 = 1400,
        项目报告提交提醒 = 1450,
        项目进展公告 = 1500,
        个人未提交周报提醒 = 1600,
    }
    public class MailDefined : FullAuditedEntity<int>
    {
        public virtual MailCatelog KeyCatelog { get; set; }

        /// <summary>
        /// 邮件的主题行
        /// </summary>
        public virtual string Subject { get; set; }

        /// <summary>
        /// 邮件正文
        /// </summary>
        public virtual string Body { get; set; }

        public virtual System.Net.Mail.MailPriority Priority { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Notes { get; set; }


        /// <summary>
        /// 邮件关联的项目角色
        /// </summary>
        public virtual string ProjectRoles { get; set; }


        /// <summary>
        /// 邮件关联的系统角色
        /// </summary>
        public virtual string SystemRoles { get; set; }

        /// <summary>
        /// 作用域
        /// </summary>
        public virtual MyCompanyName.AbpZeroTemplate.Prm.Authorization.ActionScope OptScope { get; set; }


        /// <summary>
        /// 自定义收件人
        /// </summary>
        public virtual string Receivers { get; set; }
    }
}
